@charset "utf-8";


$font_url: "..";
@font-face {
    font-family: 'layer';
    src: url($font_url + "/font/iconfont.eot");
    src: url($font_url + "/font/iconfont.eot?#iefix") format('embedded-opentype'),
         url($font_url + "/font/iconfont.woff2") format('woff2'),
         url($font_url + "/font/iconfont.woff") format('woff'),
         url($font_url + "/font/iconfont.ttf") format('truetype'),
         url($font_url + "/font/iconfont.svg#iconfont") format('svg');
}

.layer-icon {
    font-family: "layer"!important;
    font-style: normal;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.layer-icon {
    position: absolute;
    top: 16px;
    left: 15px;
    width: 30px;
    height: 30px;
    font-size: 30px;
    vertical-align: sub;
    margin-right: 5px;

    &.layer-icon-success {
        color: #00ba9b;
    }
    &.layer-icon-error {
        color: #e85445;
    }
    &.layer-icon-warning {
        color: #f39b13;
    }
}


.layer-shade {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 10000000;
}

.layer {
    position: fixed;
    top: 130px;
    left: 50%;
    transform: translate(-50%, 0px) scale(1.0);
    border-radius: 2px;
    z-index: 11000000;

    * {
        box-sizing: border-box;
    }

    &.layer-bg {
        min-width: 100px;
        background: rgba(0, 0, 0, 0.6);
        color: #fff;

        .layer-content {
            position: relative;
            padding: 20px;
            line-height: 24px;
            overflow: hidden;
            font-size: 14px;
            overflow-x: hidden;
            overflow-y: auto;
            padding: 20px 20px 20px 55px;
            text-align: center;
            // vertical-align: middle;
        }
    }
}
